package cn.bs.busuo.front.hotel.dao.persist.mapper;

import cn.bs.busuo.front.hotel.pojo.entity.HotelsRoomType;
import cn.bs.busuo.front.hotel.pojo.param.AddNewRoomParam;
import cn.bs.busuo.front.hotel.pojo.param.DeleteRoomParam;
import cn.bs.busuo.front.hotel.pojo.vo.HotelRoomTypeEnabledVO;
import cn.bs.busuo.front.hotel.pojo.vo.HotelsRoomTypeCheckVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface HotelsRoomTypeMapper extends BaseMapper<HotelsRoomType> {
    List<HotelsRoomTypeCheckVO> selectRoomTypeWhichNotCheck();

    List<HotelsRoomTypeCheckVO> selectRoomTypeWhichCheck();

    int checkRoomTypeAccess(Long id,Byte checkState);

    int checkRoomTypeRefused(Long id, Byte checkState);

    List<HotelRoomTypeEnabledVO> selectHotelRoomType(Long hotelId);

    int enableRoomType(Long id);

    int disableRoomType(Long id);

    int addNewRoom(AddNewRoomParam addNewRoomParam);

    int deleteRoom(DeleteRoomParam deleteRoomParam);
}
